LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly)
LEAD Technologies, Inc

PolygonRasterRegionData Constructor(List<LeadPoint>,Boolean)






A list of Leadtools.LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

Initializes a new instance of the PolygonRasterRegionData class.
Syntax
public PolygonRasterRegionData( 
   List<LeadPoint> points,
   bool windingFillMode
)
'Declaration
 
Public Function New( _
   ByVal points As List(Of LeadPoint), _
   ByVal windingFillMode As Boolean _
)
'Usage
 
Dim points As List(Of LeadPoint)
Dim windingFillMode As Boolean
 
Dim instance As New PolygonRasterRegionData(points, windingFillMode)
public PolygonRasterRegionData( 
   List<LeadPoint> points,
   bool windingFillMode
)
function PolygonRasterRegionData( 
   points ,
   windingFillMode 
)
public:
PolygonRasterRegionData( 
   List<LeadPoint>^ points,
   bool windingFillMode
)

Parameters

points
A list of Leadtools.LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.
windingFillMode

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PolygonRasterRegionData Class
PolygonRasterRegionData Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: LEADTOOLS Toolkit Features